package com.icinfo.cloud.provider.punish.ucase.punishexecute.service;

import com.icinfo.cloud.provider.punish.ucase.punishexecute.dto.CaseDelayInstallmentDetailDto;
import com.icinfo.cloud.provider.punish.ucase.punishexecute.dto.CaseDelayInstallmentDocDto;
import com.icinfo.cloud.provider.punish.ucase.punishexecute.dto.CaseDelayInstallmentDto;
import com.icinfo.cloud.provider.punish.ucase.punishexecute.dto.CaseDelayInstallmentPunishMoneyDto;
import com.icinfo.cloud.provider.punish.ucase.punishexecute.vo.CaseDelayInstallmentDocVo;
import com.icinfo.cloud.provider.punish.ucase.punishexecute.vo.CaseDelayInstallmentVo;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * @Description 申请延期（分期）缴纳罚款service接口
 * @Author mahan
 * @Date 2022/9/20
 * @Version 1.0
 */
public interface ICaseDelayInstallmentService extends BaseService {

    /**
     * 保存分期（延期）信息
     * @param caseDelayInstallmentDto
     */
    CaseDelayInstallmentDocVo saveDelayInstallment(CaseDelayInstallmentDto caseDelayInstallmentDto);

    /**
     * 修改分期（延期）信息
     * @param caseDelayInstallmentDto
     */
    CaseDelayInstallmentDocVo updateDelayInstallment(CaseDelayInstallmentDto caseDelayInstallmentDto);

    /**
     * 获取分期（延期）信息
     * @param dto
     */
    CaseDelayInstallmentVo delayInstallmentInfo(CaseDelayInstallmentDetailDto dto);

    /**
     * 案件详情页面，获取分期（延期）信息
     * @param caseId
     */
    List<CaseDelayInstallmentVo> delayInstallmentInfo(String caseId);

    /**
     * 延期（分期）文书字段查询
     * @param dto
     */
    CaseDelayInstallmentDocVo delayInstallmentDocInfo(CaseDelayInstallmentDocDto dto);

    /**
     * 获取案件处罚金额
     * @param dto
     * @return
     */
    String getCasePunishMoney(CaseDelayInstallmentPunishMoneyDto dto);

}
